package common.service.impl;


import common.mapper.MryeMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import common.service.MryeDataCenterService;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Transactional
@Service("mryeDataCenterService")
public class MryeDataCenterServiceImpl implements MryeDataCenterService {
    @Resource(name="mryeMapper")
    MryeMapper mryeMapper;

    @Override
    public List<Map<String, Object>> searchSapPage(Map<String, Object> params) {
        return mryeMapper.searchSapPage(params);
    }

    @Override
    public List<Map<String, Object>> searchSapList(Map<String, Object> params) {
        return mryeMapper.searchSapList(params);
    }

    @Override
    public Map<String, Object> searchSap(Map<String, Object> params) {
        return mryeMapper.searchSap(params);
    }

    @Override
    public int saveSap(Map<String, Object> params) {
        return mryeMapper.saveSap(params);
    }

    @Override
    public int deleteSap(Map<String, Object> params) {
        return mryeMapper.deleteSap(params);
    }

    @Override
    public int updateSap(Map<String, Object> params) {
        return mryeMapper.updateSap(params);
    }

    @Override
    public int saveBatchSap(Map<String, Object> params, List<Map<String, Object>> values) {
        return mryeMapper.saveBatchSap(params,values);
    }

    @Override
    public int updateBatchSap(Map<String, Object> params, List<String> inValues) {
        return mryeMapper.updateBatchSap(params,inValues);
    }

    @Override
    public String callDI(Map<String, Object> params) {
        return null;
    }

    @Override
    public String callDIXML(Map<String, Object> params) {
        return null;
    }

    @Override
    public String callDIBean(Map<String, Object> params) {
        return null;
    }

    @Override
    public int updateProc(Map<String, Object> params) {
        return mryeMapper.updateProc(params);
    }

    @Override
    public int prints(Map<String, Object> params) {
        return 1;
    }

    @Override
    public Object getProc(Map<String, Object> params) {
        return null;
    }

    @Override
    public Map<String, Object> login(Map<String, Object> params) {
        return null;
    }

    @Override
    public List<Map<String, Object>> searchFuncByRoleId(Map<String, Object> params) {
        return null;
    }
}
